package com.foreveross.taskservice.taskcache.redis.core.exception;
/**
 * 
 * @author Administrator
 *
 */
public class WaitLockTimeoutException extends Exception{

	/**
	 * 
	 */
	private static final long serialVersionUID = -7205444553183211840L;

	
	public WaitLockTimeoutException(){
		super("等待锁超时");
	}
	
	public WaitLockTimeoutException(String lockName){
		super(String.format("等待锁[%s]超时", lockName));
	}
	
	public WaitLockTimeoutException(String lockName,int waitSeccond){
		super(String.format("等待锁[%s]超时[%s]s", lockName,waitSeccond));
	}
}
